package com.yadang.JsonDeserializer;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class SubjSet {
    @JsonProperty("BOND_SUBJ_NAME")
    private List<String> bondSubjNameList;

    @JsonProperty("SUBJ_FACE_AMNT")
    private List<Integer> subjFaceAmntList;

    @JsonProperty("SUBJ_BAL_UNIT_DESC")
    private List<String> subjBalUnitDescList;

    @JsonCreator
    public SubjSet(@JsonProperty("BOND_SUBJ_NAME") List<String> bondSubjNameList,
                @JsonProperty("SUBJ_FACE_AMNT") List<Integer> subjFaceAmntList,
                @JsonProperty("SUBJ_BAL_UNIT_DESC") List<String> subjBalUnitDescList) {
        this.bondSubjNameList = bondSubjNameList;
        this.subjFaceAmntList = subjFaceAmntList;
        this.subjBalUnitDescList = subjBalUnitDescList;
    }

    public List<String> getBondSubjNameList() {
        return bondSubjNameList;
    }

    public void setBondSubjNameList(List<String> bondSubjNameList) {
        this.bondSubjNameList = bondSubjNameList;
    }

    public List<Integer> getSubjFaceAmntList() {
        return subjFaceAmntList;
    }

    public void setSubjFaceAmntList(List<Integer> subjFaceAmntList) {
        this.subjFaceAmntList = subjFaceAmntList;
    }

    public List<String> getSubjBalUnitDescList() {
        return subjBalUnitDescList;
    }

    public void setSubjBalUnitDescList(List<String> subjBalUnitDescList) {
        this.subjBalUnitDescList = subjBalUnitDescList;
    }
/*@JsonProperty("SUBJ_SET")
    private List<Subj> subjList;

    public List<Subj> getSubjList() {
        return subjList;
    }

    public void setSubjList(List<Subj> subjList) {
        this.subjList = subjList;
    }

    @Override
    public String toString() {
        return "SubjSet{" +
                "subjList=" + subjList +
                '}';
    }*/
}

